//
//  Utility.m
//  Ubiqus_Visitor
//
//  Created by dongmh on 12/9/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import "Utility.h"
#import "AppDelegate.h"

@implementation Utility
static Utility* gInstance = nil;

//Skeleton
+ (Utility*)Shared {
	if( !gInstance )
	{
		gInstance = [[Utility alloc] init];
	}
	return gInstance;
}



- (void)loadNavigationIOS5{
    if ([[[UIDevice currentDevice] systemVersion] floatValue] > 4.9) {
        AppDelegate *appDele = [[UIApplication sharedApplication] delegate];
        [appDele.nvController.navigationBar setBackgroundImage:[UIImage imageNamed:@"navi_01.png"] forBarMetrics:UIBarMetricsDefault];
        //[[AppDelegate navigationControllerInstance].navigationBar setBackgroundImage:[UIImage imageNamed:@"imgNavbar.png"] forBarMetrics:UIBarMetricsDefault];   
    }
}




@end
